package com.smartfast4j.springboot.mybatis.demo.service;

import com.smartfast4j.springboot.mybatis.demo.pojo.Account;
import com.smartfast4j.springboot.mybatis.demo.pojo.AccountExample;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AccountService {

    int countByExample(AccountExample example);

    int deleteByExample(AccountExample example);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(Account record);

    List<Account> selectByExample(AccountExample example);

    Account selectByPrimaryKey(Integer id);

    int updateByExampleSelective(Account record,AccountExample example);

    int updateByPrimaryKeySelective(Account record);

}
